home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / unix / textmstr.shr / tm.hqx / Source Code ƒ / U / Help_window.c < prev    next >
Text File  |  1991-05-09  |  3KB  |  110 lines

  1. /* Help_window */
  2.  
  3. /* File name: Help_window */
  4. /* Function: Handle a modal dialog */
  5. /* History: 5/9/91 Original by Prototyper 3.0   */
  6.  
  7. #include "PCommonTextMaster.h"    /* Common */
  8. #include "Common_TextMaster.h"    /* Common */
  9. #include "PUtils_TextMaster.h"    /* General Utilities */
  10. #include "Utils_TextMaster.h"    /* General Utilities */
  11.  
  12. #include "Help_window.h"    /* This file */
  13.  
  14.  
  15. /* ======================================================= */
  16.  
  17.  
  18.  
  19. /* Routine: D_Init_Help_window */
  20. /* Purpose: This routine is called while when the program is first run. */
  21. /*     This is used for onetime initialization. */
  22. void D_Init_Help_window()
  23. {
  24.  
  25. }                                                                                /* End of procedure */
  26.  
  27.  
  28. /* ======================================================= */
  29.  
  30.  
  31. /* Routine: D_Filter_Help_window */
  32. /* Purpose: This routine is called while inside of the Modal Dialog filter */
  33. /*     theDialog is the dialog(alert) pointer */
  34. /*     theEvent is the event that we are to see if we should filter */
  35. /*     itemHit is the item we set if we handle the event ourselves */
  36. Boolean D_Filter_Help_window(theDialog, theEvent, itemHit)
  37. DialogPtr    theDialog;
  38. EventRecord    *theEvent;
  39. short    *itemHit;
  40. {
  41. Boolean    Filter_Help_window;
  42.  
  43. Filter_Help_window = FALSE;                                             /* Let the modal routine handle it */
  44.  
  45. return(Filter_Help_window);
  46. }                                                                                /* End of function */
  47.  
  48.  
  49. /* ======================================================= */
  50.  
  51.  
  52. /* Routine: D_Refresh_Help_window */
  53. /* Purpose: Refresh the modal dialog */
  54. void D_Refresh_Help_window(theDialog)
  55. DialogPtr    theDialog;
  56. {
  57.  
  58. }                                                                                /* End of procedure */
  59.  
  60.  
  61. /* ======================================================= */
  62.  
  63.  
  64. /* Routine: D_Setup_Help_window */
  65. /* Purpose: Setup the modal dialog */
  66. void D_Setup_Help_window(theDialog)
  67. DialogPtr    theDialog;
  68. {
  69.  
  70. }                                                                                /* End of procedure */
  71.  
  72.  
  73. /* ======================================================= */
  74.  
  75.  
  76. /* Routine: D_Hit_Help_window */
  77. /* Purpose: Hit in the modal dialog */
  78. void D_Hit_Help_window( theDialog,  itemHit,  ExitDialog)
  79. DialogPtr    theDialog;
  80. short    itemHit;
  81. Boolean    *ExitDialog;
  82. {
  83.  
  84. if (itemHit ==Res_Dlg_More)                                              /* Handle the Button being pressed */
  85.     {
  86.     }
  87.  
  88. if (itemHit ==Res_Dlg_OK2)                                               /* Handle the Button being pressed */
  89.     {
  90.     }
  91.  
  92. }                                                                                /* End of procedure */
  93.  
  94.  
  95. /* ======================================================= */
  96.  
  97.  
  98. /* Routine: D_Exit_Help_window */
  99. /* Purpose: Exit the modal dialog */
  100. void D_Exit_Help_window(theDialog)
  101. DialogPtr    theDialog;
  102. {
  103.  
  104. }                                                                                /* End of procedure */
  105.  
  106.  
  107. /* ======================================================= */
  108.  
  109.  
  110.